package com.medusa.aps.business.modules.demand.model.output;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author miskw
 * @date 2024/1/8
 */
@Data
@Schema(description = "排程明细-委外")
public class ScheduleDetailOutSourcingModel {
    @Schema(description = "订单号")
    private String orderNumber;
    @Schema(description = "物料编码")
    private String itemCode;
    @Schema(description = "物料名称")
    private String itemName;
    @Schema(description = "物料分类")
    private String itemType;
    @Schema(description = "供应商编码")
    private String supplierCode;
    @Schema(description = "供应商名称")
    private String supplierName;
    @Schema(description = "规格")
    private String specification;
    @Schema(description = "生产单位")
    private String unit;
    @Schema(description = "数量")
    private BigDecimal quantity;
    @Schema(description = "需求日期")
    private LocalDate demandPeriod;
    @Schema(description = "建议采购日期")
    private LocalDate proposedPurchaseDate;
    @Schema(description = "预计到货日期")
    private LocalDate procurementLeadTime;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
